import time
import os

cmd = 'aws s3 sync /data/feed-data/`hostname` s3://feed.raw.coin2.corp.prestolabs.io/data/flow/`hostname`/ --exclude="**/_*"'

while True:
  os.system(cmd)
  time.sleep(10 * 60)  # 10 mins
